package com.ktgj.service.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 合同机场服务关联			
对象 contract_link_airportservice
 * 
 * @author ruoyi
 * @date 2021-09-03
 */
public class ContractLinkAirportservice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long contractAirportServiceId;

    /** 合同ID */
    @Excel(name = "合同ID")
    private Long contractId;

    /** 服务id */
    @Excel(name = "服务id")
    private Long airportServiceId;

    /** 机场服务明细id */
    @Excel(name = "机场服务明细id")
    private Long itemId;

    /** 状态 0 默认 -1000 删除 */
    @Excel(name = "状态 0 默认 -1000 删除")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date craeteTime;

    /** 操作人*/
    @Excel(name = "操作人id")
    private Long opemployeeId;

    /**机场合同价格*/
    private List<ContractLinkAirportservicePrice> priceList;

    public List<ContractLinkAirportservicePrice> getPriceList() {
        return priceList;
    }

    public void setPriceList(List<ContractLinkAirportservicePrice> priceList) {
        this.priceList = priceList;
    }

    public void setContractAirportServiceId(Long contractAirportServiceId)
    {
        this.contractAirportServiceId = contractAirportServiceId;
    }

    public Long getContractAirportServiceId() 
    {
        return contractAirportServiceId;
    }
    public void setContractId(Long contractId) 
    {
        this.contractId = contractId;
    }

    public Long getContractId() 
    {
        return contractId;
    }
    public void setAirportServiceId(Long airportServiceId) 
    {
        this.airportServiceId = airportServiceId;
    }

    public Long getAirportServiceId() 
    {
        return airportServiceId;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCraeteTime(Date craeteTime) 
    {
        this.craeteTime = craeteTime;
    }

    public Date getCraeteTime() 
    {
        return craeteTime;
    }

    public Long getOpemployeeId() {
        return opemployeeId;
    }

    public void setOpemployeeId(Long opemployeeId) {
        this.opemployeeId = opemployeeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractAirportServiceId", getContractAirportServiceId())
            .append("contractId", getContractId())
            .append("airportServiceId", getAirportServiceId())
            .append("itemId", getItemId())
            .append("status", getStatus())
            .append("craeteTime", getCraeteTime())
            .append("updateTime", getUpdateTime())
            .append("opemployeeId", getOpemployeeId())
            .toString();
    }
}
